package mock;
import model.interfaces.Node;
import model.interfaces.Objective;


public class MockObjective extends Objective {

	private boolean executed = false;
	
    public MockObjective(Node objective) {
        super(objective);
    }
    
    @Override
    public void execute() {
    	executed = true;
    }

	public boolean wasExecuted() {
		return executed;
	} 
    
}
